package com.jsoft.test;

import com.jsoft.dao.InstitutyDao;
import com.jsoft.dao.impl.InstitutyDaoImpl;
import com.jsoft.entity.Instituty;
import org.junit.Test;

import java.util.List;

/**测试Instituty dao功能
 * @author snkstart
 * @create 2023-02-21 8:54
 */
public class testInstituty {

    private InstitutyDao institutyDao=new InstitutyDaoImpl();
    @Test
    public void testselectAll(){
        try {
            List<Instituty> instituties = institutyDao.selectAll();
            System.out.println(instituties);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
